import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
  base: './',
  server: {
    port: 5174,
    strictPort: true,
    open: true,
    proxy: {
      '/lowcode3user': {
        target: 'http://test-teacher.yuekedashi.com',
        changeOrigin: true
      }
    }
  },
  preview: {
    port: 5174
  }
})
